package com.wuyou.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author 张钧程
 * @since 2022-09-30
 */
@TableName("tb_rent_order")
@ApiModel(value = "RentOrder对象", description = "")
public class RentOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    @TableId(value = "rent_order_id", type = IdType.AUTO)
    private Long rentOrderId;

    @ApiModelProperty("合约id")
    private Long contractId;

    @ApiModelProperty("订单号")
    private String orderNum;

    @ApiModelProperty("流水号")
    private String tradeNo;

    @ApiModelProperty("用户手机号")
    private String userPhone;

    @ApiModelProperty("房东手机号")
    private String hostPhone;

    @ApiModelProperty("缴纳金额")
    private BigDecimal payPrice;

    @ApiModelProperty("缴纳时间")
    private Date payTime;

    @ApiModelProperty("最迟缴纳日期(违约日期)")
    private Date lastPayTime;

    @ApiModelProperty("备用字段1")
    private String spare1;

    @ApiModelProperty("备用字段2")
    private String spare2;

    public Long getRentOrderId() {
        return rentOrderId;
    }

    public void setRentOrderId(Long rentOrderId) {
        this.rentOrderId = rentOrderId;
    }
    public Long getContractId() {
        return contractId;
    }

    public void setContractId(Long contractId) {
        this.contractId = contractId;
    }
    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum;
    }
    public String getTradeNo() {
        return tradeNo;
    }

    public void setTradeNo(String tradeNo) {
        this.tradeNo = tradeNo;
    }
    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }
    public String getHostPhone() {
        return hostPhone;
    }

    public void setHostPhone(String hostPhone) {
        this.hostPhone = hostPhone;
    }
    public BigDecimal getPayPrice() {
        return payPrice;
    }

    public void setPayPrice(BigDecimal payPrice) {
        this.payPrice = payPrice;
    }
    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }
    public Date getLastPayTime() {
        return lastPayTime;
    }

    public void setLastPayTime(Date lastPayTime) {
        this.lastPayTime = lastPayTime;
    }
    public String getSpare1() {
        return spare1;
    }

    public void setSpare1(String spare1) {
        this.spare1 = spare1;
    }
    public String getSpare2() {
        return spare2;
    }

    public void setSpare2(String spare2) {
        this.spare2 = spare2;
    }

    @Override
    public String toString() {
        return "RentOrder{" +
            "rentOrderId=" + rentOrderId +
            ", contractId=" + contractId +
            ", orderNum=" + orderNum +
            ", tradeNo=" + tradeNo +
            ", userPhone=" + userPhone +
            ", hostPhone=" + hostPhone +
            ", payPrice=" + payPrice +
            ", payTime=" + payTime +
            ", lastPayTime=" + lastPayTime +
            ", spare1=" + spare1 +
            ", spare2=" + spare2 +
        "}";
    }
}
